package edu.pku.sei.act.codegen.getinfor;

import edu.pku.sei.act.model.mote.LIP;
import edu.pku.sei.act.mote.myenum.YNEnum;

public class LIPForCode {
	
	private YNEnum lip;
	
	public LIPForCode (LIP lip){
		this.lip = lip.getLIP();
	}
	public boolean getLIP(){
		boolean l ;
		if(this.lip==YNEnum.Yes){
			l = true;
		}else{
			l = false;
		}
		return l;
	}

}
